
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="Lei Shi">
    <meta http-equiv="Cache-Control" content="o-transform">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta name="csrf-token" content="1483780974##87f89328c5616669f00302a263fe9061bb852818">

    <title>博文详情</title>

    <meta content="education课程分为基础课和项目课，内容涵盖了Linux、Python、Java、C语言、Ruby、Android、IOS开发、大数据、信息安全等IT技术领域。" name="description">
    <meta content="education课程,IT培训课程,IT实训课程,IT在线课程,all" name="keywords">

    <meta content="education,琛石科技" name="author">

    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" href="../static/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="../static/highlight.js/9.8.0/monokai-sublime.min.css">
    <link rel="stylesheet" href="../app/css/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="../app/css/libs/katex/0.6.0/katex.min.css">
    <link rel="stylesheet" href="../app/css/libs/videojs/5.11.7/video-js.min.css">
    <link rel="stylesheet" href="../app/css/dest/styles.css?=2016121272249">
    <link rel="stylesheet"  href="../css/eye.css">

    <link rel="stylesheet" href="../css/ksd.css?v=2.489">

    <!--引入md样式文件-->
    <link rel="stylesheet" href="../css/editor-md/editormd.preview.css" />

    <script src="../static/jquery/2.2.4/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>


    <style>
        @font-face {
            font-family: "lantingxihei";
            src: url("../fonts/FZLTCXHJW.TTF");
        }

        /* modal 模态框*/
        #invite-user .modal-body {
            overflow: hidden;
        }
        #invite-user .modal-body .form-label {
            margin-bottom: 16px;
            font-size:14px;
        }
        #invite-user .modal-body .form-invite {
            width: 80%;
            padding: 6px 12px;
            background-color: #eeeeee;
            border: 1px solid #cccccc;
            border-radius: 5px;
            float: left;
            margin-right: 10px;
        }
        #invite-user .modal-body .msg-modal-style {
            background-color: #7dd383;
            margin-top: 10px;
            padding: 6px 0;
            text-align: center;
            width: 100%;
        }
        #invite-user .modal-body .modal-flash {
            position: absolute;
            top: 53px;
            right: 74px;
            z-index: 999;
        }
        /* end modal */

        .en-footer {
            padding: 30px;
            text-align: center;
            font-size: 14px;
        }
    </style>
    <link rel="stylesheet" href="../restatic/js/libs/marked/katex/katex.min.css">
    <style>
        .bootcamp-infobox {
            margin: 50px 0 0;
        }
        .invite-friends-link {
            margin-top:10px;
            padding-left:8px;
        }
        .invite-friends-link input {
            margin-left:-5px;
        }
        .invite-friends-link button {
            float:left;
            margin-top:5px;
            margin-left:-5px;
        }
        .invite-friends-link .copy-msg {
            float:left;
            margin-top:10px;
            margin-left:20px;
            color:#42b1ad;
        }
        p.join-vip-faq {
            margin-top:20px;
            margin-bottom:-50px;
            font-size:13px;
        }
        p.join-vip-faq img {
            height:13px;
            width:13px;
            margin-top:-2px;
        }
        a.vip-without-bean {
            font-size:18px;
            line-height:30px;
        }
    </style>


    <style>

        html{height:100%;}body{min-height:100%;display:flex;flex-direction:column;}.main{flex:1;padding-bottom: 20px;}.ksd-layout-bbs-main ol li{list-style:decimal-leading-zero;}.layui-container{max-width:1140px;}.navbar.fixed{top:-50px;position:absolute;right:0;left:0;}.container.w100{max-width:100%!important;}.layui-container.ksd-content-fixed{position:fixed;margin:15px auto 100px 290px!important;width:calc(100% - 300px)!important;overflow-y:auto;max-width:100%;}.ksd-content-fixed-over{position:fixed;top:45px;margin:10px auto 100px 0!important;width:100%;background:#fff;height:15px;z-index:111;display:none;max-width:100%;}.ksd-chapterlist-box.fixed{position:fixed;top:56px;left:0;bottom:0;z-index:1223;width:280px;border-radius:0;background:white;margin:0;overflow-y:auto;overflow-x:hidden;}.layui-container .main{box-shadow:0 0 12px rgba(0,0,0,0.1);margin:10px auto;padding:20px;background:#fff;}.article-desc{background:#f9f9f9;font-size:14px;color:#73777a;line-height:24px;letter-spacing:0;text-align:left;padding:20px 10px;margin:10px 0 20px;overflow:hidden;word-wrap:break-word;word-break:break-all;}.titlefix{position:fixed;top:-4px;left:0;right:0;margin:0 auto;text-align:center;z-index:1021;background:rgba(239,243,245,0.76) !important;width:1140px;}.title-article .title-msg a.ksd-tiff{position:absolute;top:0;right:5px;color:#4CAF50;font-weight:bold;}.ksd-tiff.report-red{color:#f44336}.title-article .title-msg a.ksd-tiff2{position:absolute;top:3px;right:46px;color:#ff6700 !important;font-weight:bold;font-size:14px;}.ksd-tiff2.active{color:#cf8805}.ksdcopylink{background:#1E9FFF;padding:2px 11px;color:#fff;border-radius:10px;}.ksd-chapterlist-box{background:#eff3f5;margin:10px 15px 0;padding:10px;border-radius:10px;}.ksd-chapterlist-box a{display:block;padding:2px;}#ksd-chapterlist{display:none;}#ksd-chapterlist li{padding:2px 0;}
        #ksd-chapterlist li a{color:#4183c4;}#ksd-chapterlist li a:hover{text-decoration:none;background:#f8f8f8;}#ksd-chapterlist li ul li{margin-left:25px;}#ksd-chapterlist li ul li ul li{margin-left:25px;}.achecked{background:#cce5ff;font-weight:bold;padding:4px!important;}#doc-content ul li{list-style:initial !important;}.nopagebox{width:600px;margin:160px auto;background:#eee;padding:50px;text-align:center}.nopagebox .tit{font-size:24px;}.nopagebox .cont{font-size:16px;margin:10px 0;}#doc-content img{cursor:zoom-in;}.ksd-imgcnt img{cursor: zoom-out}.comment-txt-box .eleImg{max-width:100%;height:auto;vertical-align:bottom;border-style:none;padding-right:4px;}
        #ksd-chapterlist li a{text-overflow:ellipsis;overflow:hidden;width:264px;white-space:nowrap;display:block;}
        .editormd-html-preview  pre{position: relative}
        .editormd-html-preview pre .iconfuzhi{position:absolute;top:3px;right:10px;cursor: pointer}
        .editormd-preview-theme-dark pre .iconfuzhi{color:#fff;}

    </style>
    <style>
        .w-e-toolbar,
        .w-e-text-container,
        .w-e-menu-panel {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            background-color: #fff;
            /*表情菜单样式*/
            /*分割线样式*/
        }
        .w-e-toolbar h1,
        .w-e-text-container h1,
        .w-e-menu-panel h1 {
            font-size: 2em !important;
        }
        .w-e-toolbar h2,
        .w-e-text-container h2,
        .w-e-menu-panel h2 {
            font-size: 1.5em !important;
        }
        .w-e-toolbar h3,
        .w-e-text-container h3,
        .w-e-menu-panel h3 {
            font-size: 1.17em !important;
        }
        .w-e-toolbar h4,
        .w-e-text-container h4,
        .w-e-menu-panel h4 {
            font-size: 1em !important;
        }
        .w-e-toolbar h5,
        .w-e-text-container h5,
        .w-e-menu-panel h5 {
            font-size: 0.83em !important;
        }
        .w-e-toolbar p,
        .w-e-text-container p,
        .w-e-menu-panel p {
            font-size: 1.1em !important;
        }
        .w-e-toolbar .eleImg,
        .w-e-text-container .eleImg,
        .w-e-menu-panel .eleImg {
            cursor: pointer;
            display: inline-block;
            font-size: 18px;
            padding: 0 3px;
        }
        .w-e-toolbar *,
        .w-e-text-container *,
        .w-e-menu-panel * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }
        .w-e-toolbar hr,
        .w-e-text-container hr,
        .w-e-menu-panel hr {
            cursor: pointer;
            display: block;
            height: 0px;
            border: 0;
            border-top: 3px solid #ccc;
            margin: 20px 0;
        }
        .w-e-clear-fix:after {
            content: "";
            display: table;
            clear: both;
        }
        .w-e-drop-list-item {
            position: relative;
            top: 1px;
            padding-right: 7px;
            color: #333 !important;
        }
        .w-e-drop-list-tl {
            padding-left: 10px;
            text-align: left;
        }

    </style>
    <style>
        .w-e-toolbar {
            display: flex;
            padding: 0 6px;
            flex-wrap: wrap;
            position: relative;
            /* 单个菜单 */
        }
        .w-e-toolbar .w-e-menu {
            position: relative;
            display: flex;
            width: 40px;
            height: 40px;
            align-items: center;
            justify-content: center;
            text-align: center;
            cursor: pointer;
        }
        .w-e-toolbar .w-e-menu i {
            color: #999;
        }
        .w-e-toolbar .w-e-menu:hover {
            background-color: #F6F6F6;
        }
        .w-e-toolbar .w-e-menu:hover i {
            color: #333;
        }
        .w-e-toolbar .w-e-active i {
            color: #1e88e5;
        }
        .w-e-toolbar .w-e-active:hover i {
            color: #1e88e5;
        }

    </style>
    <style>
        .w-e-text-container {
            position: relative;
        }
        .w-e-text-container .w-e-progress {
            position: absolute;
            background-color: #1e88e5;
            top: 0;
            left: 0;
            height: 1px;
        }
        .w-e-text-container .placeholder {
            color: #D4D4D4;
            position: absolute;
            font-size: 11pt;
            line-height: 22px;
            left: 10px;
            top: 10px;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            z-index: -1;
        }
        .w-e-text {
            padding: 0 10px;
            overflow-y: auto;
        }
        .w-e-text p,
        .w-e-text h1,
        .w-e-text h2,
        .w-e-text h3,
        .w-e-text h4,
        .w-e-text h5,
        .w-e-text table,
        .w-e-text pre {
            margin: 10px 0;
            line-height: 1.2;
        }
        .w-e-text ul,
        .w-e-text ol {
            margin: 10px 0 10px 20px;
        }
        .w-e-text blockquote {
            display: block;
            border-left: 8px solid #d0e5f2;
            padding: 5px 10px;
            margin: 10px 0;
            line-height: 1.4;
            font-size: 100%;
            background-color: #f1f1f1;
        }
        .w-e-text code {
            display: inline-block;
            background-color: #f1f1f1;
            border-radius: 3px;
            padding: 3px 5px;
            margin: 0 3px;
        }
        .w-e-text pre code {
            display: block;
        }
        .w-e-text table {
            border-top: 1px solid #ccc;
            border-left: 1px solid #ccc;
        }
        .w-e-text table td,
        .w-e-text table th {
            border-bottom: 1px solid #ccc;
            border-right: 1px solid #ccc;
            padding: 3px 5px;
            min-height: 30px;
        }
        .w-e-text table th {
            border-bottom: 2px solid #ccc;
            text-align: center;
            background-color: #f1f1f1;
        }
        .w-e-text:focus {
            outline: none;
        }
        .w-e-text img {
            cursor: pointer;
        }
        .w-e-text img:hover {
            box-shadow: 0 0 5px #333;
        }
        .w-e-text .w-e-todo {
            margin: 0 0 0 20px;
        }
        .w-e-text .w-e-todo li {
            list-style: none;
            font-size: 1em;
        }
        .w-e-text .w-e-todo li span:nth-child(1) {
            position: relative;
            left: -18px;
        }
        .w-e-text .w-e-todo li span:nth-child(1) input {
            position: absolute;
            top: 0.3em;
            margin-right: 3px;
        }
        .w-e-tooltip {
            position: absolute;
            display: flex;
            color: #f1f1f1;
            background-color: rgba(0, 0, 0, 0.75);
            box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
            border-radius: 4px;
            padding: 4px 5px 6px;
            justify-content: center;
            align-items: center;
        }
        .w-e-tooltip-up::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border: 5px solid rgba(0, 0, 0, 0);
            border-top-color: rgba(0, 0, 0, 0.73);
        }
        .w-e-tooltip-down::after {
            content: "";
            position: absolute;
            bottom: 100%;
            left: 50%;
            margin-left: -5px;
            border: 5px solid rgba(0, 0, 0, 0);
            border-bottom-color: rgba(0, 0, 0, 0.73);
        }
        .w-e-tooltip-item-wrapper {
            cursor: pointer;
            font-size: 14px;
            margin: 0 5px;
        }
        .w-e-tooltip-item-wrapper:hover {
            color: #ccc;
            text-decoration: underline;
        }
        .w-e-menu-tooltip {
            position: absolute;
            display: flex;
            color: #f1f1f1;
            background-color: rgba(0, 0, 0, 0.75);
            box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
            border-radius: 4px;
            padding: 4px 5px 6px;
            justify-content: center;
            align-items: center;
        }
        .w-e-menu-tooltip-up::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border: 5px solid rgba(0, 0, 0, 0);
            border-top-color: rgba(0, 0, 0, 0.73);
        }
        .w-e-menu-tooltip-item-wrapper {
            font-size: 14px;
            margin: 0 5px;
        }

    </style>
    <style>
        @font-face {
            font-family: 'w-e-icon';
            src: url(data:font/woff;base64,d09GRgABAAAAABskAAsAAAAAGtgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIPFWNtYXAAAAFoAAABHAAAARz2mfAgZ2FzcAAAAoQAAAAIAAAACAAAABBnbHlmAAACjAAAFXwAAB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AD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype');
            font-weight: normal;
            font-style: normal;
        }
        [class^="w-e-icon-"],
        [class*=" w-e-icon-"] {
            /* use !important to prevent issues with browser extensions that change fonts */
            font-family: 'w-e-icon' !important;
            speak: none;
            font-style: normal;
            font-weight: normal;
            font-variant: normal;
            text-transform: none;
            line-height: 1;
            /* Better Font Rendering =========== */
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .w-e-icon-close:before {
            content: "\f00d";
        }
        .w-e-icon-upload2:before {
            content: "\e9c6";
        }
        .w-e-icon-trash-o:before {
            content: "\f014";
        }
        .w-e-icon-header:before {
            content: "\f1dc";
        }
        .w-e-icon-pencil2:before {
            content: "\e906";
        }
        .w-e-icon-paint-brush:before {
            content: "\f1fc";
        }
        .w-e-icon-image:before {
            content: "\e90d";
        }
        .w-e-icon-play:before {
            content: "\e912";
        }
        .w-e-icon-location:before {
            content: "\e947";
        }
        .w-e-icon-undo:before {
            content: "\e965";
        }
        .w-e-icon-redo:before {
            content: "\e966";
        }
        .w-e-icon-quotes-left:before {
            content: "\e977";
        }
        .w-e-icon-list-numbered:before {
            content: "\e9b9";
        }
        .w-e-icon-list2:before {
            content: "\e9bb";
        }
        .w-e-icon-link:before {
            content: "\e9cb";
        }
        .w-e-icon-happy:before {
            content: "\e9df";
        }
        .w-e-icon-bold:before {
            content: "\ea62";
        }
        .w-e-icon-underline:before {
            content: "\ea63";
        }
        .w-e-icon-italic:before {
            content: "\ea64";
        }
        .w-e-icon-strikethrough:before {
            content: "\ea65";
        }
        .w-e-icon-table2:before {
            content: "\ea71";
        }
        .w-e-icon-paragraph-left:before {
            content: "\ea77";
        }
        .w-e-icon-paragraph-center:before {
            content: "\ea78";
        }
        .w-e-icon-paragraph-right:before {
            content: "\ea79";
        }
        .w-e-icon-paragraph-justify:before {
            content: "\ea7a";
        }
        .w-e-icon-terminal:before {
            content: "\f120";
        }
        .w-e-icon-page-break:before {
            content: "\ea68";
        }
        .w-e-icon-cancel-circle:before {
            content: "\ea0d";
        }
        .w-e-icon-font:before {
            content: "\ea5c";
        }
        .w-e-icon-text-heigh:before {
            content: "\ea5f";
        }
        .w-e-icon-paint-format:before {
            content: "\e90c";
        }
        .w-e-icon-indent-increase:before {
            content: "\ea7b";
        }
        .w-e-icon-indent-decrease:before {
            content: "\ea7c";
        }
        .w-e-icon-row-height:before {
            content: "\e9be";
        }
        .w-e-icon-fullscreen_exit:before {
            content: "\e900";
        }
        .w-e-icon-fullscreen:before {
            content: "\e901";
        }
        .w-e-icon-split-line:before {
            content: "\ea0b";
        }
        .w-e-icon-checkbox-checked:before {
            content: "\ea52";
        }

    </style>

    <style>
        .w-e-menu .w-e-panel-container {
            position: absolute;
            top: 0;
            left: 50%;
            border: 1px solid #ccc;
            border-top: 0;
            box-shadow: 1px 1px 2px #ccc;
            color: #333;
            background-color: #fff;
            text-align: left;
            /* 为 emotion panel 定制的样式 */
            /* 上传图片、上传视频的 panel 定制样式 */
        }
        .w-e-menu .w-e-panel-container .w-e-panel-close {
            position: absolute;
            right: 0;
            top: 0;
            padding: 5px;
            margin: 2px 5px 0 0;
            cursor: pointer;
            color: #999;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-close:hover {
            color: #333;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-title {
            list-style: none;
            display: flex;
            font-size: 14px;
            margin: 2px 10px 0 10px;
            border-bottom: 1px solid #f1f1f1;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-title .w-e-item {
            padding: 3px 5px;
            color: #999;
            cursor: pointer;
            margin: 0 3px;
            position: relative;
            top: 1px;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-title .w-e-active {
            color: #333;
            border-bottom: 1px solid #333;
            cursor: default;
            font-weight: 700;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content {
            padding: 10px 15px 10px 15px;
            font-size: 16px;
            /* 输入框的样式 */
            /* 按钮的样式 */
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content input:focus,
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea:focus,
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content button:focus {
            outline: none;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea {
            width: 100%;
            border: 1px solid #ccc;
            padding: 5px;
            margin-top: 10px;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea:focus {
            border-color: #1e88e5;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text] {
            border: none;
            border-bottom: 1px solid #ccc;
            font-size: 14px;
            height: 20px;
            color: #333;
            text-align: left;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text].small {
            width: 30px;
            text-align: center;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text].block {
            display: block;
            width: 100%;
            margin: 10px 0;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text]:focus {
            border-bottom: 2px solid #1e88e5;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button {
            font-size: 14px;
            color: #1e88e5;
            border: none;
            padding: 5px 10px;
            background-color: #fff;
            cursor: pointer;
            border-radius: 3px;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.left {
            float: left;
            margin-right: 10px;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.right {
            float: right;
            margin-left: 10px;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.gray {
            color: #999;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.red {
            color: #c24f4a;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button:hover {
            background-color: #f1f1f1;
        }
        .w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container:after {
            content: "";
            display: table;
            clear: both;
        }
        .w-e-menu .w-e-panel-container .w-e-emoticon-container .w-e-item {
            cursor: pointer;
            font-size: 18px;
            padding: 0 3px;
            display: inline-block;
        }
        .w-e-menu .w-e-panel-container .w-e-up-img-container,
        .w-e-menu .w-e-panel-container .w-e-up-video-container {
            text-align: center;
        }
        .w-e-menu .w-e-panel-container .w-e-up-img-container .w-e-up-btn,
        .w-e-menu .w-e-panel-container .w-e-up-video-container .w-e-up-btn {
            display: inline-block;
            color: #999;
            cursor: pointer;
            font-size: 60px;
            line-height: 1;
        }
        .w-e-menu .w-e-panel-container .w-e-up-img-container .w-e-up-btn:hover,
        .w-e-menu .w-e-panel-container .w-e-up-video-container .w-e-up-btn:hover {
            color: #333;
        }

    </style>
    <style>
        .w-e-toolbar .w-e-droplist {
            position: absolute;
            left: 0;
            top: 0;
            background-color: #fff;
            border: 1px solid #f1f1f1;
            border-right-color: #ccc;
            border-bottom-color: #ccc;
        }
        .w-e-toolbar .w-e-droplist .w-e-dp-title {
            text-align: center;
            color: #999;
            line-height: 2;
            border-bottom: 1px solid #f1f1f1;
            font-size: 13px;
        }
        .w-e-toolbar .w-e-droplist ul.w-e-list {
            list-style: none;
            line-height: 1;
        }
        .w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item {
            color: #333;
            padding: 5px 0;
        }
        .w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item:hover {
            background-color: #f1f1f1;
        }
        .w-e-toolbar .w-e-droplist ul.w-e-block {
            list-style: none;
            text-align: left;
            padding: 5px;
        }
        .w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item {
            display: inline-block;
            padding: 3px 5px;
        }
        .w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item:hover {
            background-color: #f1f1f1;
        }

    </style>
    <style>
        .w-e-text-container {
            overflow: hidden;
        }
        .w-e-img-drag-mask {
            position: absolute;
            z-index: 1;
            border: 1px dashed #ccc;
            box-sizing: border-box;
        }
        .w-e-img-drag-mask .w-e-img-drag-rb {
            position: absolute;
            right: -5px;
            bottom: -5px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #ccc;
            cursor: se-resize;
        }
        .w-e-img-drag-mask .w-e-img-drag-show-size {
            min-width: 110px;
            height: 22px;
            line-height: 22px;
            font-size: 14px;
            color: #999;
            position: absolute;
            left: 0;
            top: 0;
            background-color: #999;
            color: #fff;
            border-radius: 2px;
            padding: 0 5px;
        }

    </style>
    <style>
        .w-e-table {
            display: flex;
        }
        .w-e-table .w-e-table-input {
            width: 40px;
            text-align: center!important;
            margin: 0 5px;
        }

    </style>
    <style>
        .w-e-full-screen-editor {
            position: fixed;
            width: 100%!important;
            height: 100%!important;
            left: 0;
            top: 0;
        }

    </style>
    <style>
        .w-e-content-mantle {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow-y: auto;
        }
        .w-e-content-mantle .w-e-content-preview {
            width: 100%;
            min-height: 100%;
            padding: 0 10px;
            line-height: 1.5;
        }
        .w-e-content-mantle .w-e-content-preview img {
            cursor: default;
        }
        .w-e-content-mantle .w-e-content-preview img:hover {
            box-shadow: none;
        }
        .w-e-menue-mantle {
            position: absolute;
            height: 100%;
            width: 100%;
            top: 0;
            left: 0;
        }

    </style>

</head>

<body style="background: #eff3f5" data-islogin="1" data-iscomment="1" data-topicid="1404606278822633474" data-buserid="9a6ea80a97cc4973af304ea5e341f149">

<!--start-->
<nav class="navbar navbar-default navbar-fixed-top header">
    <script src="../js/header.js"></script>
</nav>
<!--end-->

<!--start-->
<div class="container layout layout-margin-top">

            <div id="vue">
                <div class="main">
                    <div class="layui-container  water-mark ksd-content-fixed-over"></div>
                    <div class="layui-container ksd-layui-container water-mark">
                        <div class="ksd-layout-bbs-main layui-row layui-col-space15 main">
                            <div class="layui-col-md12 layui-col-lg12">
                                <div class="title-article" style="text-align: left">
                                    <h1 class="title" id="sharetitle">
                                        <span>{{article.title}}</span>
                                        <span class="badge" v-for="label in labels" style="margin-left: 5px">{{label.labelName}}</span>
                                    </h1>


                                    <div class="title-msg">
                        <span>
                         <a class="c999" target="_blank">
                             作者：<span class="mx-1">{{article.username}}</span>
                          </a>
                        </span>

                                        <span class="c999" style="padding:0 6px;">分类：{{articleType.name}}</a></span>
                                        <span class="c999">&nbsp;&nbsp;<span class="glyphicon glyphicon-star" title="收藏数"></span>：<span>{{article.collectionNumber}}</span></span>
                                        <span class="c999">&nbsp;&nbsp;<span class="glyphicon glyphicon-heart" title="点赞数"></span>：<span>{{article.praiseNumber}}</span></span>
                                        <span class="c999">&nbsp;&nbsp;<span class="glyphicon glyphicon-eye-open" title="观看量"></span>：<span>{{article.browseAmount}}</span></span>
                                        <a href="javascript:void(0);" class="ksd-tiff2 ksd-tiff-collect" @click="onCollection()"><i class="iconfont iconadd1 pr-1"></i><span class="zzmsg">收藏</span></a>
                                        <a href="javascript:void(0);" class="ksd-tiff2 ksd-tiff-collect" style="top: 30px" @click="onPrise()"><i class="iconfont iconadd1 pr-1"></i><span class="zzmsg">点赞</span></a>
                                        <span class="fr c999 ksd-update-span">
                             <span style="position:relative;top:10px;">
                                 最后修改于：
                                <span v-if="articleType.updateTime != null">
                                    {{article.updateTime}}
                                </span>
                                 <span v-else>
                                    {{article.createTime}}
                                </span>
                            </span>
                        </span>
                                    </div>
                                </div>

                                <div id="doc-content" class="mt-3 markdown-body editormd-html-preview" style="overflow: hidden" title="博文正文">

                                </div>


                            </div>
                        </div>
                        <div class="layui-row layui-col-space15 main mt-4" style="margin-bottom: 100px;">
                            <div class="layui-col-md12 layui-col-lg12" style="padding:10px 25px;">
                                <div class="comment-text layui-form">
                                    <div id="comments">
                                        <div id="commentbox-post">
                                            <div id="respond-post" class="respond">
                                                <div class="cancel-comment-reply">
                                                </div>
                                                <div class="layui-form-item">
                                                    <div id="commentarea"><div style="background-color:#FFF; border:1px solid #c9d8db; border-bottom:1px solid #EEE; z-index:101;" class="w-e-toolbar" id="toolbar-elem5447536812006746"><div class="w-e-menu" data-title="加粗">
                                                        <i class="w-e-icon-bold"></i>
                                                    </div><div class="w-e-menu" data-title="序列">
                                                        <i class="w-e-icon-list2"></i>
                                                    </div><div class="w-e-menu" data-title="表情">
                                                        <i class="w-e-icon-happy"></i>
                                                    </div><div class="w-e-menu-tooltip w-e-menu-tooltip-up" style="visibility:hidden;; z-index:101">
                                                        <div class="w-e-menu-tooltip-item-wrapper">
                                                            <div></div>
                                                        </div>
                                                    </div></div><div style="border:1px solid #c9d8db; border-top:none; height:200px; z-index:100;" class="w-e-text-container">
                                                        <textarea style= "background: transparent; border-style: none;height: 100% " v-model="commentText"></textarea>
                                                    </div></div>
                                                </div>
                                                <div class="layui-inline">
                                                    <button v-i id="submit-comment" class="layui-btn layui-btn-normal fr" @click="insertComment()"><i class="iconfont iconbianji pr-2"></i>提交评论
                                                    </button>
                                                </div>
                                            </div>
                                        </div>
                                        <div id="commentbox" data-topicid="1404606278822633474">
                                            <br>
                                            <h3>总共已有 <span class="totalcount1">{{commentCount}}</span> 条评论</h3>
                                            <br>

                                            <div class="mt-5 mt-5 text-center ksd-empty-box-c" style="">
                                                <div class="ksd-noempty none" style="background: rgb(255, 255, 255) !important; display: block;" v-if="comments.length == 0">
                                                    <span class="font-weight-bold"></span>
                                                    <p>坐等您的评论...</p>
                                                </div>
                                                <div class="panel panel-primary" style="text-align: left" v-for="comment in comments">
                                                    <div class="panel-body">
                                                        <img v-if="comment.user.imgUrl != null"  :src="comment.user.imgUrl"  class="img-circle" style="width: 50px;">
                                                        <img v-else  src="img/头像.jpg"  class="img-circle" style="width: 50px;">
                                                        <span style="margin-left: 10px;">{{comment.user.username}}</span>
                                                        <span style="float: right">评论时间：<span>{{comment.createTime}}</span></span>
                                                    </div>
                                                    <div class="panel-footer">

                                                        <div style="word-wrap: break-word;">
                                                            {{comment.content}}
                                                        </div>
                                                        <div style="height: 8px">
                                                            <button v-if="comment.userId == loginUserId || loginUserId == article.userId" type="button" class="close" aria-label="Close" @click="deleteComment(comment.id)"><span aria-hidden="true">&times;</span></button>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <ul class="pagination">
                                                <li class="prev"><a href="#!">«</a></li>
                                                <li @click="changePage(1)" class="pageNumber active" data-value="1"><a href="#!">1</a></li>
                                                <li v-for="page in pages"  @click="changePage(page)" class="pageNumber" :data-value="page"><a href="#!">{{page}}</a></li>
                                                <li class="next"><a href="#!">»</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                                <div id="loadingbox" style="padding: 30px 0px; text-align: center; display: none;"></div>
                            </div>
                        </div>
                    </div>


                    <!--引入md的js文件-->
                    <script src="../js/editor-md/marked.min.js"></script>
                    <script src="../js/editor-md/prettify.min.js"></script>
                    <script src="../js/editor-md/raphael.min.js"></script>
                    <script src="../js/editor-md/underscore.min.js"></script>
                    <script src="../js/editor-md/sequence-diagram.min.js"></script>
                    <script src="../js/editor-md/flowchart.min.js"></script>
                    <script src="../js/editor-md/jquery.flowchart.min.js"></script>
                    <script src="../js/editor-md/editormd.js"></script>
                    <script src="../js/http.js"></script>

                    <script>
                        let articleId;

                        //获取路径参数
                        getUrlParam = function (name) {              //name是路径参数名称
                            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
                            var r = window.location.search.substr(1).match(reg);
                            if (r != null) return unescape(r[2]); return null;
                        }

                        //markDown转HTMl的方法
                        function mdToHml(content){

                            //先对容器初始化，在需要展示的容器中创建textarea隐藏标签，
                            $("#doc-content").html('<textarea id="appendTest" style="display:none;"></textarea>');


                            $("#appendTest").val(content);//将需要转换的内容加到转换后展示容器的textarea隐藏标签中

                            //转换开始,第一个参数是上面的div的id
                            editormd.markdownToHTML("doc-content", {
                                htmlDecode: "style,script,iframe", //可以过滤标签解码
                                emoji: true,
                                taskList:true,
                                tex: true,               // 默认不解析
                                flowChart:true,         // 默认不解析
                                sequenceDiagram:true,  // 默认不解析
                            });
                        }

                        $(function () {
                            $(document).on("click",".next",function(){
                                $(".active").next(".pageNumber").addClass("active").siblings().removeClass("active");
                                let page = $(".pagination").children(".active").attr("data-value");
                                vm.changePage(page);
                            });

                            $(document).on("click",".prev",function(){
                                $(".active").prev(".pageNumber").addClass("active").siblings().removeClass("active");
                                let page = $(".pagination").children(".active").attr("data-value");
                                vm.changePage(page);
                            });


                        });

                        let vm = new Vue({
                            el: '#vue',
                            data: {
                                article: {},
                                comments: [],
                                articleType: {},
                                commentText:"",
                                pages:[],
                                currentPage:1,
                                loginUserId:0,
                                commentCount:0,
                                labels:[]
                            },
                            methods: {
                                /**
                                 * 通过文章id查询文章详情
                                 * @param 文章id
                                 */
                                getArticleDetail: function () {
                                    $.ajax({
                                        xhrFields:{
                                            withCredentials:true
                                        },
                                        type: "GET",
                                        url: baseUrl+"education_api/article/getArticleDetail",
                                        data: {
                                            id: articleId
                                        },
                                        success: function (resp) {
                                            let result = resp;
                                            console.log(resp);
                                            vm.article = result.data;
                                            vm.articleType = result.data.articleType;
                                            vm.labels = result.data.labels;
                                            mdToHml(vm.article.content);
                                            vm.updateBrowseAmount();
                                        }
                                    })
                                },
                                getCommentsWithPage:function () {
                                    let thisObject = this;
                                    $.ajax({
                                        xhrFields:{
                                            withCredentials:true
                                        },
                                        type: "GET",
                                        url: baseUrl+"education_api/comment/getCommentsWithPage",
                                        data: {
                                            articleId: articleId,
                                            current: thisObject.currentPage
                                        },
                                        success: function (resp) {
                                            let result = resp;
                                            vm.comments = result.data.records;
                                            vm.commentCount = result.data.total;

                                            vm.pages = [];
                                            for(let i = 2;i <= result.data.pages;i++){
                                                 vm.pages.push(i);
                                             }
                                            console.log(vm.comments);
                                            console.log(vm.pages);
                                        }
                                    })
                                },
                                changePage: function (page=1){
                                    vm.currentPage = page;
                                    vm.getCommentsWithPage();
                                    $(".pageNumber").each(function (){
                                        if(page == $(this).attr("data-value")){
                                            $(this).addClass("active").siblings().removeClass("active")
                                        }
                                    });
                                },
                                deleteComment: function (commentId) {
                                    let r=confirm("是否要删除该评论")
                                    if(r == true){
                                        $.ajax({
                                            xhrFields:{
                                                withCredentials:true
                                            },
                                            type: "POST",
                                            url: baseUrl+"education_api/comment/deleteComment",
                                            data: {
                                                id: commentId
                                            },
                                            success: function (resp) {
                                                if(vm.comments.length == 1){
                                                    vm.currentPage = vm.currentPage-1;
                                                    $(".pageNumber").each(function (){
                                                        if(vm.currentPage == $(this).attr("data-value")){
                                                            $(this).addClass("active").siblings().removeClass("active")
                                                        }
                                                    });
                                                }
                                                vm.getCommentsWithPage();
                                            }
                                        })
                                    }
                                },
                                insertComment: function () {
                                    if(vm.commentText == ""){
                                        alert("请输入评论内容")
                                        return;
                                    }
                                    if(vm.loginUserId == 0){
                                        alert("你还没登录，无法发布评论！")
                                        return;
                                    }
                                    $.ajax({
                                        xhrFields:{
                                            withCredentials:true
                                        },
                                        type: "POST",
                                        url: baseUrl+"education_api/comment/insertComment",
                                        data: {
                                            content: vm.commentText,
                                            userId: vm.loginUserId,
                                            articleId: articleId,
                                            state:0
                                        },
                                        success: function (resp) {
                                            alert(resp.message);
                                            vm.commentText = "";
                                            vm.getCommentsWithPage();
                                        }
                                    })

                                },
                                updateBrowseAmount: function () {
                                    $.ajax({
                                        xhrFields:{
                                            withCredentials:true
                                        },
                                        type: "POST",
                                        url: baseUrl+"education_api/article/updateArticle",
                                        data: {
                                            browseAmount: vm.article.browseAmount,
                                            id: articleId,
                                        },
                                        success: function (resp) {
                                            vm.article.browseAmount = vm.article.browseAmount + 1;
                                            console.log(resp.message);
                                        }
                                    })

                                },
                                onPrise: function () {
                                    $.ajax({
                                        xhrFields:{
                                            withCredentials:true
                                        },
                                        type: "POST",
                                        url: baseUrl+"education_api/article/updateArticle",
                                        data: {
                                            praiseNumber: vm.article.praiseNumber,
                                            id: articleId,
                                        },
                                        success: function (resp) {
                                            alert("点赞成功");
                                            vm.article.praiseNumber = vm.article.praiseNumber + 1;
                                        }
                                    })

                                },
                                onCollection: function () {

                                    $.ajax({
                                        xhrFields:{
                                            withCredentials:true
                                        },
                                        type: "POST",
                                        url: baseUrl+"education_api/article/collectArticle",
                                        data: {
                                            collectionNumber: vm.article.collectionNumber,
                                            id: articleId,
                                        },
                                        success: function (resp) {
                                            if(resp.code == 0){
                                                alert(resp.message)
                                                vm.article.collectionNumber = vm.article.collectionNumber + 1;
                                            }else if(resp.code == -1){
                                                alert(resp.message)
                                            }else {
                                                let r=confirm(resp.message);
                                                if(r == true){
                                                    vm.cancelCollection();
                                                }
                                            }
                                        }
                                    })

                                },
                                cancelCollection: function () {

                                    $.ajax({
                                        xhrFields:{
                                            withCredentials:true
                                        },
                                        type: "POST",
                                        url: baseUrl+"education_api/article/cancelCollect",
                                        data: {
                                            collectionNumber: vm.article.collectionNumber,
                                            id: articleId,
                                        },
                                        success: function (resp) {
                                            if(resp.code == 0){
                                                alert(resp.message)
                                                vm.article.collectionNumber = vm.article.collectionNumber - 1;
                                            }else if(resp.code == -1){
                                                alert(resp.message)
                                            }
                                        }
                                    })

                                }
                            },
                            mounted: function () {
                                articleId = getUrlParam("id");
                                this.getArticleDetail();
                                this.getCommentsWithPage();
                                //获取登入用户信息
                                let user = JSON.parse(window.sessionStorage.getItem("User"));
                                if(user != null){
                                    this.loginUserId = user.id;
                                }
                            }

                        })

                    </script>
                </div>
            </div>
            </div>
<!--end-->

<script src="../js/loginAndregister.js"></script>
<script src="../app/dest/lib/lib.js?=2016121272249"></script>
<script src="../static/ace/1.2.5/ace.js"></script>
<script src="../static/aliyun/aliyun-oss-sdk-4.3.0.min.js"></script>
<script src="../static/highlight.js/9.8.0/highlight.min.js"></script>
<script src="../static/jspdf/1.2.61/jspdf.min.js"></script>
<script src="../static/plupload/2.1.9/js/plupload.full.min.js"></script>
<script src="../static/zeroclipboard/2.2.0/ZeroClipboard.min.js"></script>
<script src="../static/videojs/video.min.js"></script>
<script src="../static/bootstrap-tour/0.11.0/js/bootstrap-tour.min.js"></script>
<script src="../static/bootstrap-table/1.11.0/bootstrap-table.min.js"></script>
<script src="../static/bootstrap-table/1.11.0/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="../static/bootstrap-table/1.11.0/extensions/filter-control/bootstrap-table-filter-control.min.js"></script>
<script src="../static/ravenjs/3.7.0/raven.min.js"></script>
<script src="../app/dest/course/labs.js?=2016121272249"></script>
<script>
    Raven.config('https://bc3878b7ed0a4468a65390bd79e6e73f@sentry.shiyanlou.com/5', {
        release: '3.12.13'
    }).install();
</script>
<div id="jinja-data"
     data-userlab-id=""
     data-course-id="454"
     data-is-authenticated="false"
     data-user-joined="false"
     data-user-logined="false"
     data-show-student-info-modal="false"
     data-login-url="/login?next=%2Fcourses%2F454"
     data-start-newlab-url="/courses/clear"

     data-faq="/faq"
     data-comment-post="/courses/454/comments"
     data-loginurl="/login?next=%2Fcourses%2F454"
     data-site-type="0"
     data-report-post="/courses/454/reports"
     data-recomment-img="../img/recommentReport.png"
     data-charge-course-phone-code="/user/sms/code"
     data-join-private-course="/courses/join"
     data-current-user-id=""
     data-vip-icon="../img/vip-icon.png"
     data-vip-index="/vip"
     data-get-question-url="/courses/454/questions"
     data-real-price = "199.00"

     data-price-without-book = "199.00"

     data-query-bill="/purchase/bill/query"
     data-question-form="/questions/meta"
     data-qiniu-token-url="/api/qiniu/token"
></div>
</body>
</html>
